* lisp/progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 3 Feb 2013 15:47:12 +0000 (10:47 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 3 Feb 2013 15:47:12 +0000 (10:47 -0500)
lisp/ChangeLog
lisp/progmodes/cperl-mode.el

index 46358c1fa325f496449a67d6dff734cfb6ce1ec4..96aa22a02c288b47cd7a15af06ccb6db89651d5c 100644 (file)
@@ -1,5 +1,8 @@
 2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
+       (bug#13614).
+
        * subr.el (internal--called-interactively-p--get-frame): Avoid filling
        current-load-list (bug#13366).
 
index c302bb484af25e8a4a95649406035eeeb24878fa..7d34269b6b57a110883788bd66bd92647ed4ea47 100644 (file)
@@ -1839,7 +1839,7 @@ or as help on variables `cperl-tips', `cperl-problems',
   (make-local-variable 'cperl-syntax-state)
   (setq cperl-syntax-state nil)                ; reset syntaxification cache
   (if cperl-use-syntax-table-text-property
-      (if (boundp 'syntax-propertize-function)
+      (if (eval-when-compile (fboundp 'syntax-propertize-rules))
           (progn
             ;; Reset syntaxification cache.
             (set (make-local-variable 'cperl-syntax-done-to) nil)